package com.gxkj.projects.myshopx.entitys;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Table(name = "link_goods")
public class LinkGoods implements Serializable {
    private static final long serialVersionUID = -4867759090287562313L;

    @Embedded
    @Id
    private  LinkGoodsPK linkGoodsPK;//

    @Column(name="is_double",nullable = false)
    private int isDouble;

    public LinkGoodsPK getLinkGoodsPK() {
        return linkGoodsPK;
    }

    public void setLinkGoodsPK(LinkGoodsPK linkGoodsPK) {
        this.linkGoodsPK = linkGoodsPK;
    }

    public int getIsDouble() {
        return isDouble;
    }

    public void setIsDouble(int isDouble) {
        this.isDouble = isDouble;
    }
}
